@model Coowork.Data.Mapping.CooTaskComment

@{
    ViewBag.Title = "Details";
}

<h2>Details</h2>

<fieldset>
    <legend>CooTaskComment</legend>

    <div class="display-label">Body</div>
    <div class="display-field">@Model.Body</div>

    <div class="display-label">Creator</div>
    <div class="display-field">@Model.Creator</div>

    <div class="display-label">CreateTime</div>
    <div class="display-field">@String.Format("{0:g}", Model.CreateTime)</div>

    <div class="display-label">TaskId</div>
    <div class="display-field">@Model.TaskId</div>

    <div class="display-label">ParentId</div>
    <div class="display-field">@Model.ParentId</div>

    <div class="display-label">NeedFeedback</div>
    <div class="display-field">@Model.NeedFeedback</div>

    <div class="display-label">Qer</div>
    <div class="display-field">@Model.Qer</div>

    <div class="display-label">deleted</div>
    <div class="display-field">@Model.deleted</div>

    <div class="display-label">CooTask</div>
    <div class="display-field">@Html.DisplayTextFor(_ => Model.CooTask).ToString()</div>

    <div class="display-label">CooTaskComments1</div>
    <div class="display-field">@(Model.CooTaskComments1 == null ? "None" : Model.CooTaskComments1.Count.ToString())</div>

    <div class="display-label">CooTaskComment1</div>
    <div class="display-field">@Html.DisplayTextFor(_ => Model.CooTaskComment1).ToString()</div>
</fieldset>
<p>
    @Html.ActionLink("Edit", "Edit", new { id=Model.ID }) |
    @Html.ActionLink("Back to List", "Index")
</p>


